]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Handle case where keyboardMonitor is unset
authorSam Spilsbury <sam@endlessm.com>
Wed, 11 Oct 2017 10:59:19 +0000 (12:59 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 28 Jun 2018 15:05:29 +0000 (17:05 +0200)
commit19e864ed3b85278ed1a9527ce3c29646328c19ec
treee35567d40df99f9573c6d00d1dfa7d5e0c64a911
parentc9bf72c5c4e8a94ff66fd191cb79165bed2831e5
keyboard: Handle case where keyboardMonitor is unset

This may be the case where keyboardIndex is -1, which may be the
case where either the keyboard monitor hasn't been set yet, or
the keyboard is being unmanaged and meta_window_get_monitor
returns -1

https://bugzilla.gnome.org/show_bug.cgi?id=788882
js/ui/keyboard.js